// 系统路由

const route = [
  {
    path: '/redirect/:path(.*)',
    name: 'redirect',
    component: () => import('@/views/system/redirect.vue'),
    meta: { title: 'redirect' },
  },
  {
    // 找不到路由重定向到/首页
    path: '/:pathMatch(.*)',
    name: 'pathMatch',
    redirect: '/',
  },
]

export default route
